// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// 引入 jquery
import jquery from 'jquery'
// 引入 echarts
import echarts from 'echarts'
// ajax服务
import ajaxServer from '@/server/server.js'
// 共通服务
import commonServer from '@/server/common.js'
// 常量
import constServer from '@/assets/const.js'
// 配置项
import configServer from '@/assets/config.js'

Vue.config.productionTip = false

Vue.prototype.$echarts = echarts 
Vue.prototype.$jquery = jquery
Vue.prototype.$ajaxServer = ajaxServer
Vue.prototype.$const = constServer
Vue.prototype.$common = commonServer
Vue.prototype.$config = configServer

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
